%PL4

%% ex01 a)

N = 1e2;     % # keys
charArr = ['A':'Z','a':'z']; % char array
imin = 6;
imax = 20; 

keysA = keygen(N,imin,imax,charArr)


%%  ex01 b)

N = 1e5;     % # keys
charArr = ['a':'z']; % char array
imin = 6;
imax = 20; 

prob = importdata("prob_pt.txt");


keysB = keygen(N,imin,imax,charArr,prob)
